package com.example.demo.common.domain;

import org.springframework.stereotype.Component;

@Component
public class Room {
    private Integer rtypeId;

    private Integer hotHotelId;

    private Integer orderNumber;

    private Integer hotelId;

    private String rtypeName;

    private String bedType;

    private String breakfasttype;

    private Integer roomTotal;

    private Integer maxOccupancy;

    private Integer price;

    private String image;

    public Integer getRtypeId() {
        return rtypeId;
    }

    public void setRtypeId(Integer rtypeId) {
        this.rtypeId = rtypeId;
    }

    public Integer getHotHotelId() {
        return hotHotelId;
    }

    public void setHotHotelId(Integer hotHotelId) {
        this.hotHotelId = hotHotelId;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getHotelId() {
        return hotelId;
    }

    public void setHotelId(Integer hotelId) {
        this.hotelId = hotelId;
    }

    public String getRtypeName() {
        return rtypeName;
    }

    public void setRtypeName(String rtypeName) {
        this.rtypeName = rtypeName == null ? null : rtypeName.trim();
    }

    public String getBedType() {
        return bedType;
    }

    public void setBedType(String bedType) {
        this.bedType = bedType == null ? null : bedType.trim();
    }

    public String getBreakfasttype() {
        return breakfasttype;
    }

    public void setBreakfasttype(String breakfasttype) {
        this.breakfasttype = breakfasttype == null ? null : breakfasttype.trim();
    }

    public Integer getRoomTotal() {
        return roomTotal;
    }

    public void setRoomTotal(Integer roomTotal) {
        this.roomTotal = roomTotal;
    }

    public Integer getMaxOccupancy() {
        return maxOccupancy;
    }

    public void setMaxOccupancy(Integer maxOccupancy) {
        this.maxOccupancy = maxOccupancy;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    @Override
    public String toString() {
        return "Room{" +
                "rtypeId=" + rtypeId +
                ", hotelId=" + hotelId +
                ", rtypeName='" + rtypeName + '\'' +
                '}';
    }
}